package com.xmy.study.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 课程表
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-08
 */
@TableName("edu_course")
@ApiModel(value = "Course对象", description = "课程表")
public class EduCourse implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("分册")
    private String volume;

    @ApiModelProperty("描述")
    private String des;

    @ApiModelProperty("封面")
    private String coverImg;

    @ApiModelProperty("状态：1启用,0关闭，")
    private Integer status;

    private Integer sort;

    @ApiModelProperty("版本id")
    private Long courseVersionId;

    @ApiModelProperty("学段id")
    private Long periodId;

    @ApiModelProperty("年级")
    private Integer yearClassId;

    @ApiModelProperty("年段：0幼儿园，1小学，2初中，3高中")
    private Integer gradeSection;

    @ApiModelProperty("年份")
    private Integer yearPart;

    @ApiModelProperty("季度（学期）")
    private Integer quarterNum;

    @ApiModelProperty("班型id")
    private Long classTypeId;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    private Integer deleted;

    @ApiModelProperty("创建人id")
    private Long createdId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getVolume() {
        return volume;
    }

    public void setVolume(String volume) {
        this.volume = volume;
    }
    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }
    public String getCoverImg() {
        return coverImg;
    }

    public void setCoverImg(String coverImg) {
        this.coverImg = coverImg;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public Long getCourseVersionId() {
        return courseVersionId;
    }

    public void setCourseVersionId(Long courseVersionId) {
        this.courseVersionId = courseVersionId;
    }
    public Long getPeriodId() {
        return periodId;
    }

    public void setPeriodId(Long periodId) {
        this.periodId = periodId;
    }
    public Integer getYearClassId() {
        return yearClassId;
    }

    public void setYearClassId(Integer yearClassId) {
        this.yearClassId = yearClassId;
    }
    public Integer getGradeSection() {
        return gradeSection;
    }

    public void setGradeSection(Integer gradeSection) {
        this.gradeSection = gradeSection;
    }
    public Integer getYearPart() {
        return yearPart;
    }

    public void setYearPart(Integer yearPart) {
        this.yearPart = yearPart;
    }
    public Integer getQuarterNum() {
        return quarterNum;
    }

    public void setQuarterNum(Integer quarterNum) {
        this.quarterNum = quarterNum;
    }
    public Long getClassTypeId() {
        return classTypeId;
    }

    public void setClassTypeId(Long classTypeId) {
        this.classTypeId = classTypeId;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }
    public LocalDateTime getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(LocalDateTime updatedAt) {
        this.updatedAt = updatedAt;
    }
    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
    public Long getCreatedId() {
        return createdId;
    }

    public void setCreatedId(Long createdId) {
        this.createdId = createdId;
    }

    @Override
    public String toString() {
        return "Course{" +
            "id=" + id +
            ", name=" + name +
            ", volume=" + volume +
            ", des=" + des +
            ", coverImg=" + coverImg +
            ", status=" + status +
            ", sort=" + sort +
            ", courseVersionId=" + courseVersionId +
            ", periodId=" + periodId +
            ", yearClassId=" + yearClassId +
            ", gradeSection=" + gradeSection +
            ", yearPart=" + yearPart +
            ", quarterNum=" + quarterNum +
            ", classTypeId=" + classTypeId +
            ", createdAt=" + createdAt +
            ", updatedAt=" + updatedAt +
            ", deleted=" + deleted +
            ", createdId=" + createdId +
        "}";
    }
}
